home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_200 / 271_02 / monthis.doc < prev    next >
Text File  |  1987-08-18  |  703b  |  42 lines

  1.  
  2.  
  3.        NAME
  4.                monthis -- return a string pointer to name of month
  5.  
  6.        SYNOPSIS
  7.                char *monthis(month);
  8.                int month;      number of month 0-11
  9.  
  10.  
  11.  
  12.        DESCRIPTION
  13.        This function returns a pointer to a character string naming
  14.        the specified month.  The string is null terminated and may be
  15.        used directly or copied to another string.  Month 1 is January.
  16.  
  17.  
  18.  
  19.        EXAMPLE
  20.  
  21.  
  22.                printf("This is %s", monthis(7));
  23.                 /* printout will be:
  24.                    This is August
  25.                 */
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.        This function is found in SMTCx.LIB for the Turbo-C Compiler.
  42.